package com.example.allshengmedical.experimentnew.bean;

import java.util.ArrayList;

public class MethodBean {
	private String steptType;

	private String temperature;
	private String time;
	private String goTo;
	private int backCount = 0;
	private String Repititions;
	private String deltaT;
	private Boolean rightSelect = false;
	long targetTempTime = 0;
	private Boolean selected = false;

	public long getTargetTempTime() {
		return targetTempTime;
	}

	public void setTargetTempTime(long targetTempTime) {
		this.targetTempTime = targetTempTime;
	}

	public MethodBean(String steptType, String temperature, String time,
			String goTo, String repititions, String deltaT) {
		super();
		this.steptType = steptType;
		this.temperature = temperature;
		this.time = time;
		this.goTo = goTo;
		this.Repititions = repititions;
		this.deltaT = deltaT;
		this.backCount = backCount;
	}

	public MethodBean(String steptType, String temperature, String time,
			String goTo, String repititions, String deltaT, Boolean rightSelect) {
		super();
		this.steptType = steptType;
		this.temperature = temperature;
		this.time = time;
		this.goTo = goTo;
		Repititions = repititions;
		this.deltaT = deltaT;
		this.rightSelect = rightSelect;
		this.backCount = backCount;
	}

	public int getBackCount() {
		return backCount;
	}

	public void setBackCount(int backCount) {
		this.backCount = backCount;
	}

	public String getSteptType() {
		return steptType;
	}

	public void setSteptType(String steptType) {
		this.steptType = steptType;
	}

	public String getTemperature() {
		return temperature;
	}

	public void setTemperature(String temperature) {
		this.temperature = temperature;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getGoTo() {
		return goTo;
	}

	public void setGoTo(String goTo) {
		this.goTo = goTo;
	}

	public String getRepititions() {
		return Repititions;
	}

	public void setRepititions(String repititions) {
		Repititions = repititions;
	}

	public String getDeltaT() {
		return deltaT;
	}

	public void setDeltaT(String deltaT) {
		this.deltaT = deltaT;
	}

	public Boolean getRightSelect() {
		return rightSelect;
	}

	public void setRightSelect(Boolean rightSelect) {
		this.rightSelect = rightSelect;
	}

	public void incBackCount() {
		// TODO AbackCountuto-generated method stub
		backCount++;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "tiem=" + time + ";" + "rightSelect=" + rightSelect + ";"
				+ "deltaT=" + deltaT + ";" + "Repititions=" + Repititions + ";"
				+ "goTo=" + goTo + ";" + "temperature=" + temperature + ";"
				+ "backCount=" + backCount + ";";
	}

	public Boolean getSelected() {
		return selected;
	}

	public void setSelected(Boolean selected) {
		this.selected = selected;
	}

}
